/*
 * LayerStats.java
 *
 * Created on Dec 21, 2011
 *
 * Copyright (c) 2011 Artur Rataj.
 *
 * This code is distributed under the terms of the GNU Library
 * General Public License, either version 3 of the license or, at
 * your option, any later version.
 */

package pl.gliwice.iitis.spatialnn.network.construct;

import pl.gliwice.iitis.spatialnn.network.NeuronType;

/**
 * Describes statistical parameters of a layer of neurons.
 * 
 * @author Artur Rataj
 */
public class LayerStats {
    /**
     * Type of neurons in this layer.
     */
    NeuronType type;
    /**
     * To which layer neurons in this layer output, -1
     * for an output membrane.
     */
    int outputLayerNum;
    /**
     * Construction parameters of neurons in this layer.
     */
    ConstructionParams cp;
    
    /**
     * Creates a new instance of <code>LayerStats</code>.
     * 
     * @param type type of neurons in this layer
     * @param outputLayerNum to which layer neurons in this layer output, -1
     * for an output membrane
     * @param cp construction parameters
     */
    public LayerStats(NeuronType type, int outputLayerNum, ConstructionParams cp) {
        this.type = type;
        this.outputLayerNum = outputLayerNum;
        this.cp = cp;
    }
}
